package com.yuntai.pms.model.api.district;

import com.github.pagehelper.PageInfo;
import com.yuntai.pms.model.dto.district.HfpHosDistrictDto;

import java.util.List;
import java.util.Map;

/**
 * @Description：院区信息管理接口
 * @Author:ytxuty
 * @Date:2019/1/9&17:49
 * @Company:恒生芸泰公司
 * @Copyright:版权归hsyuntai 所有
 * @Version:0.0.1
 */
public interface HfpHosDistrictService {
    /**
    * @Description:分页查询院区信息
    * @Method:findPageData
    * @Param:[dto]
    * @Author:xuty
    * @Date:2019/1/10
    * @Copyright:版权归hsyuntai所有
    * @Version:1.0
    **/
    PageInfo findPageData(HfpHosDistrictDto dto);
    /**
    * @Description:主键获取院区对象
    * @Method:findPageData
    * @Param:[hosDistId]
    * @ReturnType:com.hiap.amp.platform.model.dto.district.HfpHosDistrictDto
    * @Author:xuty
    * @Date:2019/1/11
    * @Copyright:版权归hsyuntai所有
    * @Version:1.0
    **/
    HfpHosDistrictDto getHosDistById(Long hosDistId);
    /**
    * @Description:插入院区
    * @Method:insertHosDist
    * @Param:[dto]
    * @ReturnType:java.lang.Long(自增主键ID)
    * @Author:xuty
    * @Date:2019/1/14
    * @Copyright:版权归hsyuntai所有
    * @Version:1.0
    **/
    Long insertHosDist(HfpHosDistrictDto dto);
    /**
    * @Description:编辑院区
    * @Method:editHosDist
    * @Param:[dto]
    * @ReturnType:java.lang.Integer
    * @Author:xuty
    * @Date:2019/1/14
    * @Copyright:版权归hsyuntai所有
    * @Version:1.0
    **/
    Integer editHosDist(HfpHosDistrictDto dto);
    /**
     * @Description:选择性编辑院区
     * @Method:editHosDistSelective
     * @Param:[dto]
     * @ReturnType:java.lang.Integer
     * @Author:xuty
     * @Date:2019/1/14
     * @Copyright:版权归hsyuntai所有
     * @Version:1.0
     **/
    Integer editHosDistSelective(HfpHosDistrictDto dto);
    /**
    * @Description:获取院区
    * @Method:getHosDistByDto
    * @Param:[dto]
    * @ReturnType:List<HfpHosDistrictDto>
    * @Date:2019/1/14
    * @Copyright:版权归hsyuntai所有
    * @Version:1.0
    **/
    List<HfpHosDistrictDto> getHosDistByDto(HfpHosDistrictDto dto);

    /**
     * @Description: 上传的图片
     * @Method: uploadImage
     * @Param: [dto]
     * @Date: 2019/1/23
     * @Copyright: 版权归hsyuntai所有
     * @Version: 1.0
     **/
    void uploadImage(HfpHosDistrictDto dto);

    List<Map<Long, String>> getDistByHos(HfpHosDistrictDto dto);
}
